package com.cskaoyan.user.service;


import com.cskaoyan.user.dto.MyUserLoginResponse;
import com.cskaoyan.user.dto.UserLoginResponseGet;
import com.cskaoyan.user.form.UserLoginRequest;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface ILoginService {

    /**
         实现用户登录功能
     */
    MyUserLoginResponse postUserLogin(UserLoginRequest request, HttpServletRequest httpServletRequest, HttpServletResponse response);


    UserLoginResponseGet getUserLogin(HttpServletRequest request);

    void loginOut();
}
